﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VR.Model
{
    /// <summary>
    ///  拥有权限的菜单
    /// </summary>
    public class MenuResult
    {
        /// <summary>
        ///  菜单id
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        ///  菜单名称
        /// </summary>
        public string folder_name { get; set; }
        /// <summary>
        ///  访问地址
        /// </summary>
        public string folder_url { get; set; }
        /// <summary>
        ///  菜单类型
        /// </summary>
        public string folder_type { get; set; }
        /// <summary>
        ///  英文名称
        /// </summary>
        public string enLang { get; set; }
        /// <summary>
        ///  业务代码
        /// </summary>
        public string bus_code { get; set; }
        /// <summary>
        ///  菜单图片
        /// </summary>
        public string module_img { get; set; }
        /// <summary>
        ///  子菜单
        /// </summary>
        public List<MenuResult> child { get; set; }
    }

    public class MenuElementResult
    {
        /// <summary>
        ///  菜单id
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        ///  元素名称
        /// </summary>
        public string pe_name { get; set; }
        /// <summary>
        ///  元素代码
        /// </summary>
        public string pe_code { get; set; }
        /// <summary>
        ///  元素方法
        /// </summary>
        public string pe_func { get; set; }
        /// <summary>
        ///  备注
        /// </summary>
        public string pe_note { get; set; }
        /// <summary>
        /// 菜单代码
        /// </summary>
        public string menu_code { get; set; }
    }
    public class VRClientMenuModel: T_PageElement
    {
        /// <summary>
        /// 菜单代码
        /// </summary>
        public string menu_code { get; set; }
    }
}